'use strict';
const db = uniCloud.database()
exports.main = async (event, context) => {
    let collection = db.collection("info")
	let res = collection.add(event.data)
    return res
};
